package com.example.demo;

public class Question {
    private int mTextResId;
    private boolean mAnswerTrue;
    private boolean isAnswered;

    public Question(int mTextResId, boolean mAnswerTrue, boolean isAnswered) {
        this.mTextResId = mTextResId;
        this.mAnswerTrue = mAnswerTrue;
        this.isAnswered = isAnswered;
    }

    public Question(int mTextResId, boolean mAnswerTrue) {
        this.mTextResId = mTextResId;
        this.mAnswerTrue = mAnswerTrue;
    }

    public int getTextResId() {
        return mTextResId;
    }

    public void setTextResId(int mTextResId) {
        this.mTextResId = mTextResId;
    }

    public boolean isAnswerTrue() {
        return mAnswerTrue;
    }

    public void setAnswerTrue(boolean mAnswerTrue) {
        this.mAnswerTrue = mAnswerTrue;
    }

    public boolean isAnswered() {
        return isAnswered;
    }

    public void setAnswered(boolean answered) {
        isAnswered = answered;
    }
}
